package com.suitsoft.ut.entity.system;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 目录树信息表实体.
 * 
 * @author Jack.
 */
@Entity
@SuppressWarnings("serial")
@Table(name = "TREEINFO")
@javax.persistence.SequenceGenerator(name = "SEQ_TREE_INFO_ID", sequenceName = "SEQ_TREE_INFO_ID", allocationSize = 1, initialValue = 1)
public class STreeInfo implements java.io.Serializable {
	/*主键*/
	@Id
	@Column(name = "NODEID")
	@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "SEQ_TREE_INFO_ID")
	private Long nodeid;
	/*父级分类*/
	private Long parentid;
	/*标题*/
	private String caption;
	/*节点路径*/
	private String nodeurl;
	/*目标主框架*/
	private String target;
	/*顶端信息*/
	private String tipinfo;
	/*权限*/
	private String icon;
	private String iconopen;
	private Long tellerinfo;
	private Long isopen;

	public STreeInfo() {
		super();
	}

	public STreeInfo(Long nodeid, Long perenid, String caption, String nodeurl, String target, String tipinfo,
			String icon, String iconopen, Long tellerinfo, Long isopen) {
		super();
		this.nodeid = nodeid;
		this.parentid = perenid;
		this.caption = caption;
		this.nodeurl = nodeurl;
		this.target = target;
		this.tipinfo = tipinfo;
		this.icon = icon;
		this.iconopen = iconopen;
		this.tellerinfo = tellerinfo;
		this.isopen = isopen;
	}

	public String getCaption() {
		return caption;
	}

	public String getIcon() {
		return icon;
	}

	public String getIconopen() {
		return iconopen;
	}

	public Long getIsopen() {
		return isopen;
	}

	public Long getNodeid() {
		return nodeid;
	}

	public String getNodeurl() {
		return nodeurl;
	}

	public Long getParentid() {
		return parentid;
	}

	public String getTarget() {
		return target;
	}

	public Long getTellerinfo() {
		return tellerinfo;
	}

	public String getTipinfo() {
		return tipinfo;
	}

	public void setCaption(String caption) {
		this.caption = caption;
	}

	public void setIcon(String icon) {
		this.icon = icon;
	}

	public void setIconopen(String iconopen) {
		this.iconopen = iconopen;
	}

	public void setIsopen(Long isopen) {
		this.isopen = isopen;
	}

	public void setNodeid(Long nodeid) {
		this.nodeid = nodeid;
	}

	public void setNodeurl(String nodeurl) {
		this.nodeurl = nodeurl;
	}

	public void setParentid(Long perenid) {
		this.parentid = perenid;
	}

	public void setTarget(String target) {
		this.target = target;
	}

	public void setTellerinfo(Long tellerinfo) {
		this.tellerinfo = tellerinfo;
	}

	public void setTipinfo(String tipinfo) {
		this.tipinfo = tipinfo;
	}
}
